<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ include file="/home/include/init_home.jsp" %>
<%
	String page_id	= StringUtil.nvl(request.getParameter("page_id"));

	HashMap param = new HashMap();
	param.put("page_id", page_id);

	HomeDAO dao = new HomeDAO();


	HashList list = dao.selectPageList(param);

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= HOME_NAME %></title>
<style type="text/css">
</style>
<link href="../css/home.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <%@ include file="/home/include/top_menu.jsp" %>
  <tr>
    <td valign="top" align="center" class="sub_con"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <!--좌측네비 시작-->
        <%@ include file="/home/include/left_menu.jsp" %>
        <!--좌측네비 끝-->
        <td width="50"></td>
        <!--컨텐츠 시작-->
        <td valign="top" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="../images/sub/<%=pmenu_id %>_title_01.gif"  /><img src="../images/sub/<%=pmenu_id %>_title_sub.gif"  /></td>
                <td align="right" valign="bottom"></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="5" colspan="3"><img src="../images/sub/sub_line.gif" height="5" /></td>
          </tr>
          <tr>
            <td height="30" colspan="3"></td>
          </tr>
          <tr>
            <td width="721" colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="15"></td>
              </tr>
              <tr>
                <td class="sub_title"><%= menu_name %></td>
              </tr>
              <tr>
                <td height="30"></td>
              </tr>
              <tr>
                <td>
                	<%= list.get("page_content", 0) %>
                </td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="60" colspan="3"></td>
          </tr>
        </table></td>
        <!--컨텐츠 끝-->
      </tr>
    </table></td>
  </tr>
  <%@ include file="/home/include/footer.jsp" %>
</table>
</body>
</html>
